const timeRangeList = [
	{
		name: '自由选择',
		value: '0'
	}, {
		name: '最近1周',
		value: '1'
	}, {
		name: '最近1月',
		value: '2'
	}, {
		name: '最近3月',
		value: '3'
	}, {
		name: '最近6月',
		value: '4'
	}, {
		name: '最近1年',
		value: '5'
	}, {
		name: '今年以来',
		value: '6'
	}, {
		name: '成立以来',
		value: '7'
	}, {
		name: '最近3年',
		value: '8'
	}, {
		name: '最近5年',
		value: '9'
	}
]

const industryList = [
	{
		name: '申万一级行业分类',
		value: '38_1'
	}, {
		name: '申万二级行业分类',
		value: '38_2'
	}, {
		name: '申万一级行业分类(非银金融二级)',
		value: '38_99'
	}
]

const benchListPreset = [
	{ productId: '1', productCode: "", productName: "沪深300" },
	{ productId: '3', productCode: "", productName: "中证500" },
	{ productId: '4', productCode: "", productName: "上证50" },
	{ productId: '0', productCode: "", productName: "无基准" },
]

const benchCodeList = [
	{
		id: '1',
		value: '沪深300'
	}, {
		id: '3',
		value: '中证500'
	}, {
		id: '4',
		value: '上证50'
	},
	{
		id: '0',
		value: '无基准'
	}
]

const varzuhegroup = [
	{
		name: '股票组合_1',
		value: '1'
	}, {
		name: '股票组合_2',
		value: '2'
	}
]
const varjizhungroup = [
	{
		name: '股票基准_2',
		value: '1_1'
	}, {
		name: '股票基准_3',
		value: '2_2'
	}
]

const countRangeList = [
	{
		name: '自由选择',
		value: '7'
	},
	{
		name: '成立以来',
		value: '0'
	}, {
		name: '今年以来',
		value: '1'
	}, {
		name: '近三个月',
		value: '2'
	}, {
		name: '近半年',
		value: '3'
	}, {
		name: '近一年',
		value: '4'
	}, {
		name: '近三年',
		value: '5'
	}, {
		name: '近五年',
		value: '6'
	},
]

const establishLife = [
	{
		name: '1年以下',
		value: '0'
	},
	{
		name: '1-3年',
		value: '1'
	},
	{
		name: '3-5年',
		value: '2'
	},
	{
		name: '5年以上',
		value: '3'
	},
]

const fundScale = [
	{
		name: '小型基金:0-2000万',
		value: '0'
	},
	{
		name: '中小型基金:2000万-1亿',
		value: '1'
	},
	{
		name: '中型基金:1亿-5亿',
		value: '2'
	},
	{
		name: '大型基金:5亿',
		value: '3'
	},
]

//优化模型：
const optimizationModel = [
	{
		name:'均值方差模型',
		value:'0'
	},
	// {
	// 	name:'BL模型',
	// 	value:'1'
	// },
	// {
	// 	name:'风险评价模型',
	// 	value:'2'
	// },
]
//优化规则
const optimizationRules = [
	{
		name:'目标收益下风险最小',
		value:'0'
	},
	{
		name:'目标收益下风险最大',
		value:'1'
	},
	{
		name:'夏普比率最大化',
		value:'2'
	},
]
const timeRangeList2 = [
	{
		name: '自由选择',
		value: '0'
	}, {
		name: '最近一年',
		value: '1'
	}, {
		name: '最近三年',
		value: '2'
	}, {
		name: '最近五年',
		value: '3'
	}, {
		name: '最近十年',
		value: '4'
	}, 
]
const targetKey=[
	{value: "年化收益率", key: "annualYieldRate"},
	{value: "年化波动率", key: "volatility"},
	{value: "风险收益比", key: "riskAndReturnRatio"},
	{value: "最大回撤", key: "maxDrawdown"},
	{value: "数据起始日", key: "startDate"},
	{value: "数据截止日", key: "cutoffDate"},
]
const investStrategy=[
	{name: "股票多头", value: "GPDT"},
	{name: "股票多空", value: "GPDK"},
	{name: "市场中性", value: "SCZX"},
	{name: "固定收益", value: "GDSY"},
	{name: "CTA", value: "CTA"},
	{name: "其他", value: "OTHER"}
]
const netValueFrequency=[
	{name: "NONE", value: "NONE"},
	{name: "DAY", value: "DAY"},
	{name: "WEEK", value: "WEEK"},
	{name: "MONTH", value: "MONTH"},
	{name: "YEAR", value: "YEAR"},
]
export default {
	timeRangeList,
	industryList,
	benchListPreset,
	benchCodeList,
	varzuhegroup,
	varjizhungroup,
	countRangeList,
	establishLife,
	fundScale,
	optimizationModel,
	timeRangeList2,
	optimizationRules,
	targetKey,
	investStrategy,
	netValueFrequency
}
